package testview.zhen.com.myapplication.mvp;

import testview.zhen.com.myapplication.mvp.base.BasePresenter;

/**
 * Create by ldr
 * on 2019/8/7 16:45.
 */
public class MainPersenter extends BasePresenter<MainContract.View> implements MainContract.Presenter {
    public MainContract.model model;

    public MainPersenter(){
        model = new MainModel();
    }

    @Override
    public void login(String name, String password) {
    mView.showLoading();
    model.login("sdfsf","111111111111");
    mView.hideLoading();
    }
}
